<%@ page language="java"  pageEncoding="UTF-8"%>
<%@include file="/common/jsp/cssAndScript.jsp"%>
<%@include file="/common/jsp/taglibs-nojs-nocss.jsp"%>
<%@include file="/pages/head.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>鼎烜电力集团网络办公平台</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	</head>
<body>
 <form id="f1" action="examineSeting.action" method="post" >
	<table  width="100%" border="0" align="center">
		<Tr>
			<td colspan="2">
				<div class="window_1">
		        	<div id="assistFee_div">
		            	<h3 class="priceRulelist_title_pic_2">绩效考核人员设置</h3>
		        	</div>
			    </div>
			</td>
		</Tr>
		<tr>
			<td style="width:50%;" align="center">
				  <div id="container_border">
					<div id="pricerulemanage" style="height:420px;">
			            <table width="100%" border="0" cellpadding="0"  cellspacing="0" class="gridview"  id="pricerule_table">
			                <thead>
				                <tr class="title">
				                    <td>序号</td>
				                    <td>用户名</td>
				                    <td>级别</td>
				                    <td>公式</td>
				                    <td>已设定的人员关系</td>
				                    <td>设定考核人员、公式</td>
				                </tr>
			                </thead>
			                <tbody class="mytbody">
			                	<s:if test="examineSetingUserList.size()==0">
			                		<tr>
			                			<td colspan="5" align="center">无记录</td>
			                		</tr>
			                	</s:if>
			                	<s:else>
					                <s:iterator value="examineSetingUserList" status="stat">
					                	<s:if test="name != 'admin'">
						                	<tr>
								               	<td style="width: 3%"><s:property value="#stat.count"/></td>
								                <td style="width: 7%"><s:property value="cname"/></td>
								                <td style="width: 7%"><s:property value="examineFormulaMap.get(id).type==1?'普通员工':'管理层'"/></td>
								                <td style="width: 27%"><s:property value="examineFormulaMap.get(id).memo"/> </td>
								                <td style="width: 42%">
													<s:iterator value="examineSetingMap.get(id)" status="stat">
														[<s:property value="cname"/>:<s:property value="fpCname"/>]
													</s:iterator>
												</td>
								                <td style="width: 13%">
								                	<a href="javascript:void(0)" onclick="showDialog('鼎烜电力集团网络办公平台','<%=basePath %>examine/setExamineFormula.action?examineFormulaVo.userId=<s:property value="id"/>',500,120);">公式设定 | </a>
								                	<a href="javascript:void(0)" onclick="showDialog('鼎烜电力集团网络办公平台','<%=basePath %>examine/setExaminePerson.action?examineFormulaVo.userId=<s:property value="id"/>',400,350);"> 人员设定</a>
								                </td>
								            </tr>
					                	</s:if>
							        </s:iterator>
			                	</s:else>
			                </tbody>
			            </table>
			        </div> 
			     </div>
	        </td>
	 	</tr>
	 </table>
 </form>
</body>
</html>